package template_pattern;

/**
 * @author: 叶子
 * @date: 2022/03/03 12:55
 * 模板设计模式：第二步，创建模板的实体类
 **/
public class Football extends Game{
    @Override
    void initialize() {
        System.out.println("Football Game Initialized! Start playing");
    }

    @Override
    void startPlay() {
        System.out.println("Football Game Started.");
    }

    @Override
    void endPlay() {
        System.out.println("Football Game finished!");
    }
}